package com.eastseeway.radioproject.tcp;

public interface TcpCallback {
    void onDataReceived(byte[] data);
    void onConnectionStateChanged(ConnectionState state);
    void onErrorOccurred(String errorMessage);

    enum ConnectionState {
        CONNECTING, CONNECTED, DISCONNECTED, RECONNECTING
    }
}
